#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	swap(int p, int q);
	int a = 10, b = 20;
	printf("(1)a = %d, b = %d\n", a, b);
	swap(&a, &b);
	printf("(2)a = %d, b = %d\n", a, b);
}
swap(int p, int q)
{
	int t;
	t = p;
	p = q;
	q = t;
}